Skip to content

Conversation

fimohame
Copy link
Contributor

Updated the I2C driver for EFR Series 2 devices based on the design improvements in the GSDK I2C implementation

Copy link

github-actions bot commented Sep 30, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_silabs zephyrproject-rtos/hal_silabs@764d915 zephyrproject-rtos/hal_silabs#142 zephyrproject-rtos/hal_silabs#142/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_silabs DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Sep 30, 2025
@fimohame fimohame force-pushed the series-2-i2c-driver-enhancements branch from aae5758 to 9dffddd Compare September 30, 2025 18:42
@github-actions github-actions bot removed manifest manifest-hal_silabs DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Sep 30, 2025
@fimohame fimohame force-pushed the series-2-i2c-driver-enhancements branch from 9dffddd to 2a2c685 Compare September 30, 2025 18:45
@github-actions github-actions bot added manifest manifest-hal_silabs DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Sep 30, 2025
@fimohame fimohame force-pushed the series-2-i2c-driver-enhancements branch from 2a2c685 to b8c8b0c Compare September 30, 2025 18:56
This commit updates the hal_silabs revision

Signed-off-by: S Mohamed Fiaz <[email protected]>
static const struct i2c_silabs_dev_config i2c_silabs_dev_config_##idx = { \
.pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(idx), \
.base = (I2C_TypeDef *)DT_INST_REG_ADDR(idx), \
.peripheral = SL_PERIPHERAL_I2C##idx, \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work, the devicetree index doesn't need to match the peripheral instance number. You need to construct a sl_peripheral_t from the reg and clocks data from devicetree. We cannot use the predefined ones from SiSDK in Zephyr.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've addressed the comment

@fimohame fimohame force-pushed the series-2-i2c-driver-enhancements branch from 1823222 to 584964c Compare October 6, 2025 14:10
@fimohame fimohame requested a review from asmellby October 6, 2025 14:16
Updated the I2C driver for EFR Series 2 devices based on the
design improvements in the GSDK I2C implementation

Signed-off-by: S Mohamed Fiaz <[email protected]>
@fimohame fimohame force-pushed the series-2-i2c-driver-enhancements branch from 584964c to d4d90fb Compare October 6, 2025 15:29
Copy link

sonarqubecloud bot commented Oct 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: I2C DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_silabs platform: Silabs Silicon Labs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants